﻿using Mojito.Data.Enums;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Mojito.Model
{
    public class WorkspaceOutput
    {
        public string Id { get; set; }
        public string Name { get; set; }
        public bool IsShare { get; set; }
        public string OwnerId { get; set; }
        public string OwnerName { get; set; }
    }

    public class DirectoryInput
    {
        public string Id { get; set; }
        [Required]
        public string Name { get; set; }
    }

    public class DirectoriesOutput
    {
        public string Id { get; set; }
        public string Name { get; set; }
        public int Type { get; set; }
        public bool IsEditing { get; set; }
        public string ParentId { get; set; }
        public string OriginalName { get; set; }
        public ICollection<DirectoriesOutput> Items { get; set; }
    }
}
